package com.shenmazong.servernewsapi.service;

import com.shenmazong.utils.ResponseResult;

public interface NewsMongoService {
    public ResponseResult addUserNews(Integer userId, Double longitude, Double latitude, Integer serviceType, String Title, String content);
    public ResponseResult delUserNewsById(Integer userId, Long newsId);
    public ResponseResult setUserNews(Integer userId, Long newsId, Double longitude, Double latitude, Integer serviceType, String title, String content);
    public ResponseResult getNewsByUserId(Integer userId,Integer pageNo,Integer pageSize);
    public ResponseResult getNewsByTypeId(Integer userId, Integer typeId, Integer pageNo, Integer pageSize);
}
